# build
build: QMake
	make -f QMakefile

# clean
clean: QMake
	make distclean -f QMakefile
	rm *.pro -f
	rm QMakefile -f

# all
all: build

QMake:
	qmake -project
	echo "CONFIG += $(CONF)" >> qtrisk2.pro
	echo "QT += sql" >> qtrisk2.pro
	qmake -o QMakefile